package com.example.lotterysystem.controller.param;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Li_Xiaochi
 * Date: 2025/8/23
 * Time: 23:22
 */
@Data
public class ShowWinningRecordsParam implements Serializable {

    /**
     * 活动id
     */
    @NotNull(message = "活动id不能为空")
    private Long activityId;

    /**
     * 奖品id
     * 不传 prizeId 说明查询的是活动维度的中奖记录
     * 传了表示查询的是奖品维度的中奖记录
     */
    private Long prizeId;
}
